package com.newdream.eurekaclient.mapper.test;

import com.newdream.eurekaclient.model.User;
import org.apache.ibatis.annotations.Select;

/**
 * @ author: sanglei
 * @ date: 2019-04-19 16:25
 * @ description:
 */
public interface UserMapper {
    @Select("select id,`name`,age,create_time as createTime,update_time as updateTime,descr from user where id = #{id}")
    public User getUser(Integer id);
}
